package com.lwg.vhr.service;

import com.lwg.vhr.model.Department;

import java.util.List;

public interface DepartmentService {

    /**
     * @author: lwg
     * @Date: 2021/8/17 21:35
     * @Description: 获取所有的部门并以树的形式展示
     */
    List<Department> getAllDepartments();

    void addDep(Department dep);

    void deleteDepById(Department dep);

    List<Department> getAllDepartmentsWithOutChildern();
}
